banner("006666", "Connect", "To", "Database"); if(client.server == null) client.server = "your_server_id"; if(client.id == null) client.id = "your_user_id"; if(client.password == null) client.password = "your_password"; if(client.database == null) client.database = "";
This page allows you to enter parameters which this application will use to connect to a database on your system or network. These are the five required arguments for the connect() method:
Object.connect(Type,Identifier,User,Password,Database);
Objects created with DBPool() may take additional arguments. See the documentation to learn how to use this in your JavaScript Applications.
PARAMETER INPUT DESCRIPTION
Server Type: Select the type of database server for this connection. Some types may not be available for certain platforms. For instance, for Fasttrack, only ODBC is available. See the documentation for more information.
Server Identifier: This parameter identifies the database server. The information required for this parameter is vendor specific.
  • Informix - Informix Server from INFORMIXSERVER environment variable
  • Oracle - Service Name from tnsnames.ora file
  • Sybase - Server Name from sql.ini or interfaces file
  • ODBC - DSN (Data Source Name)
  • DB2 - Local Database Alias
User ID: This is a username for accessing the database server.
Password: The password for this database server users.
Database:
This should be blank unless your database server uses the concept of individually named databases within the database server. For example, Informix and Sybase require this, however, it must be left blank for Oracle, DB2 or ODBC.
If the connection succeeds, the next page will be the "Execute Query" page. If it fails, the next page will be an error page which will display information to help resolve the problem.

"dbadmin" Home Page - View Properties